import * as classification_type from './action-type';

let lists = {
    data: []
}

const proClassification = (state = lists, action = {}) => {
    switch (action.type) {
        case classification_type.LISTSTYPE:
            return {...state, ...action};
        default:
            return state;
    }
}

export default proClassification;